.Net Framework > v1.1.4322 > System > Text > RegularExpressions > Regex > Replace Replace(String,String)
Replace(String,String,Int32)
Replace(String,String,Int32,Int32)
Replace(String,String,String)
Replace(String,String,String,RegexOptions)
Replace(String,String,MatchEvaluator)
Replace(String,String,MatchEvaluator,RegexOptions)
Replace(String,MatchEvaluator)
Replace(String,MatchEvaluator,Int32)
Replace(String,MatchEvaluator,Int32,Int32)


Replace(String,String)

Category
Method
Description
Replaces all occurrences of a specified regular expression pattern with a replacement string, starting at the first character in the input string.
Type
String
Character
public
Parameters
NameTypeDescription
inputString
replacementString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,String,Int32)

Category
Method
Description
Replaces up to a specified number of occurrences of a pattern defined by the regular expression specified in the System.Text.RegularExpressions.Regex constructor with a specified replacement string, starting at the first character in the input string.
Type
String
Character
public
Parameters
NameTypeDescription
inputString
replacementString
countInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,String,Int32,Int32)

Category
Method
Description
Replaces up to a specified number of occurrences of a pattern in the input string defined by the regular expression specified in the System.Text.RegularExpressions.Regex constructor with a specified replacement string, starting at a specified character position in the input string.
Type
String
Character
public
Parameters
NameTypeDescription
inputString
replacementString
countInt32
startatInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,String,String)

Category
Method
Description
Replaces all occurrences of matches defined by the regular expression with a replacement string, starting at the first character in the input string.
Type
String
Character
public, static
Parameters
NameTypeDescription
inputString
patternString
replacementString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,String,String,RegexOptions)

Category
Method
Description
Replaces all occurrences of a pattern defined by a specified regular expression with a specified replacement character string, starting at the first character in the input string. Options can be specified to modify matching behavior.
Type
String
Character
public, static
Parameters
NameTypeDescription
inputString
patternString
replacementString
optionsRegexOptions
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,String,MatchEvaluator)

Category
Method
Description
Replaces all occurrences of a character pattern defined by a regular expression with a replacement character string starting at the first character. A System.Text.RegularExpressions.MatchEvaluator delegate is called at each match to evaluate the replacement.
Type
String
Character
public, static
Parameters
NameTypeDescription
inputString
patternString
evaluatorMatchEvaluator
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,String,MatchEvaluator,RegexOptions)

Category
Method
Description
Replaces all occurrences of a character pattern defined by a specified regular expression with a replacement character string starting at the first character. Options can be specified to modify matching behavior and a System.Text.RegularExpressions.MatchEvaluator delegate is called at each match to evaluate the replacement.
Type
String
Character
public, static
Parameters
NameTypeDescription
inputString
patternString
evaluatorMatchEvaluator
optionsRegexOptions
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,MatchEvaluator)

Category
Method
Description
Replaces all occurrences of a character pattern defined by the regular expression specified in the System.Text.RegularExpressions.Regex constructor. A System.Text.RegularExpressions.MatchEvaluator delegate is called at each match to evaluate the replacement.
Type
String
Character
public
Parameters
NameTypeDescription
inputString
evaluatorMatchEvaluator
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,MatchEvaluator,Int32)

Category
Method
Description
Replaces up to a specified number of occurrences of a pattern defined by the regular expression specified in the System.Text.RegularExpressions.Regex constructor with a replacement string, starting at the first character in the input string. A System.Text.RegularExpressions.MatchEvaluator delegate is called at each match to evaluate the replacement.
Type
String
Character
public
Parameters
NameTypeDescription
inputString
evaluatorMatchEvaluator
countInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Replace(String,MatchEvaluator,Int32,Int32)

Category
Method
Description
Replaces up to a specified number of occurrences of a pattern specified in the System.Text.RegularExpressions.Regex constructor with a replacement string, starting at a specified character position in the input string. A System.Text.RegularExpressions.MatchEvaluator delegate is called at each match to evaluate the replacement.
Type
String
Character
public
Parameters
NameTypeDescription
inputString
evaluatorMatchEvaluator
countInt32
startatInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database